@import "reset.css";
@import "../font/iconfont.css";
@import "../font_2/iconfont.css";
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}
html,body{
    width: 7.5rem;
    margin: 0 auto;
}
/*顶部*/
#top1{
    width: 7.5rem;
    height: 1rem;
    background: #ff6043;
    display: flex;
    color: #ffdfd8;
    align-items: center;
    h2{
        margin: 0 1.5rem 0 3.2rem;
        font-size: 0.32rem;
    }
    p{
        display: flex;
        width: 1.76rem;
        height: 0.62rem;
        border: 1px solid #ff8a6f;
        border-radius: 0.3rem;
        margin-right: 0.11rem;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.25rem;
        box-sizing: border-box;
        position: relative;
        span{
            width: 1px;
            height: 0.38rem;
            background: #ff896e;
            position: absolute;
            top: 0.1rem;
            left: 0.88rem;
        }
    }
}

/*搜索框*/
#serch_box{
    width: 7.5rem;
    height: 1.1rem;
    background: linear-gradient(#ff6043,#ff8a80);
    box-shadow: 0rem 0.01rem 0.3rem #ff6043;
    position: relative;
    z-index: 1;
    input{
        width: 7.08rem;
        height: 0.62rem;
        border-radius: 0.08rem;
        border: 2px solid #e6e6e6;
        margin: 0.3rem 0.2rem 0.2rem 0.2rem;
        padding: 0 0 0 0.15rem;
        box-sizing: border-box;
        font-size: 0.26rem;
        color: #999999;
    }
}

/*导航*/
nav{
    width: 2.36rem;
    height: 12.8rem;
    display: block;
    background: #ffffff;
    font-size: 0.26rem;
    color: #b6b6b6;
    overflow: hidden;
    float: left;
    
    ul{
        li{
            margin-top: 0.6rem;
            text-align: center;
        }
        & li:nth-child(2){
            font-size: 0.3rem;
            font-weight: bold;
            color: #ff6043;
        }
    }
}

/*热门精选&面部护肤&个护工具*/
#list_box{
    width: 4.64rem;

    float: right;
    margin-right: 0.2rem;
    h2{
        font-size: 0.32rem;
        color: #363636;
        font-weight: bold;
        margin-bottom: 0.2rem;
    }
    img{
        display: block;
        width: 1.28rem;
        margin-bottom: 0.08rem;
    }
    span{
        float: left;
        text-align: center;
        margin-right: 0.2rem;
        margin-bottom: 0.3rem;
        i{
            font-size: 0.22rem;
            color: #a3a3a3;
        }
    }
    .hot_goods{
        width: 4.64rem;
        height: 4.36rem;
        background: #fff;
        margin-top: 0.3rem;
        padding: 0.2rem 0 0 0.2rem;
    }
    .face_clean{
        width: 4.64rem;
        height: 4.36rem;
        background: #fff;
        margin-top: 0.3rem;
        padding: 0.2rem 0 0 0.2rem;
    }
    .care_goods{
        width: 4.64rem;
        height: 4.36rem;
        background: #fff;
        margin-top: 0.3rem;
        padding: 0.2rem 0 0 0.2rem;
        margin-bottom: 1.67rem;
    }
}

/*底部*/
#footer_box{
    width: 7.5rem;
    height: 1rem;
    background: #ffffff;
    display: flex;
    padding: 0.18rem 0 0 0;
    box-sizing: border-box;
    border-top: 1px solid #cccccc;
    position: fixed;
    bottom: 0;
    justify-content: space-around;
    p{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.18rem;
        color: #999999;
        &.cur{
            color: #ff6043;
            font-weight: bold;
        }
        span{
            font-weight: bold;
        }
        i{
            margin-top: 0.1rem;
        }
    }
}
